.workdetail {
  font-size: 0.2rem;
  .staff-name,.staff-time{
    background: #fff;
    font-size: .3rem;
    padding: .35rem 0;
    text-align: center;
  }
  .in-and-out {
    .tit {
      height: 1rem;
      line-height: 1rem;
      background: #fff;
      padding-left: 16px;
      margin-top: 15px;
      border-bottom: 1px solid #ddd;
      font-size: 0.3rem;
    }
    .income {
      width: 100%;
      height: 5rem;
      background: #fff !important;
      position: relative;
      .pie-for-income {
        width: 100%;
        height: 100%;
      }
      .no-income{
        width: 100%;
        height: 100%;
        text-align:center;
        display:table;
        span{
          display:table-cell;
          vertical-align:middle;
        }
      }
      .tip-info {
        width: 100%;
        position: absolute;
        bottom: .1rem;
        ul {
          width: 100%;
          display: flex;
          justify-content: space-around;
          li {
            text-align: center;
            .tip-color {
              display: inline-block;
              width: 16px;
              height: 16px;
              background: #000;
              vertical-align: middle;
            }
            .tip-cont {
              vertical-align: middle;
            }
            &.wechat {
              .tip-color {
                background: #6fcd58;
              }
            }
            &.ali {
              .tip-color {
                background: #55a8dc;
              }
            }
            &.cash {
              .tip-color {
                background: #e78d61;
              }
            }
          }
        }
      }
    }
    .out {
      width: 100%;
      height: 5rem;
      background: #fff !important;
      position: relative;
      margin-top: .25rem;
      .pie-for-out {
        width: 100%;
        height: 100%;
      }
      .tip-info {
        width: 100%;
        position: absolute;
        bottom: .1rem;
        ul {
          width: 100%;
          display: flex;
          justify-content: space-around;
          li {
            text-align: center;
            .tip-color {
              display: inline-block;
              width: 16px;
              height: 16px;
              background: #000;
              vertical-align: middle;
            }
            .tip-cont {
              vertical-align: middle;
            }
            &.out-tip {
              .tip-color {
                background: #37d6b7;
              }
            }
          }
        }
      }
    }
  }
}
